import request from '@/utils/request'

// 卡口列表
export const getFireInfoList = data => request('/fireInfo/list', 'get', data)

// 防火检查记录
export const getFireRecordList = data => request('/fireRecord/list', 'get', data)

// 新增防火检查记录
export const addFireRecord = data => request('/fireRecord', 'post', data)

// 修改防火检查记录
export const modifyFireRecord = data => request('/fireRecord', 'put', data)

// 获取防火检查记录详情
export const getFireRecordDetail = id => request(`/fireRecord/${id}`, 'get')

// 获取防火检查类型
export const getFireCheckType = data => request('/system/fireChecktype/listMobile', 'get', data)

// 获取防火检查内容
export const getFireCheckInfoList = data => request('/system/fireCheckInfo/listMobile', 'get', data)
